<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			function Person(name,age,tele){
				this.name=name;
				this.age=age;
				this.telephone=tele;
				this.setName=function(n){
					this.name=n;
				}
				this.selfIntro=function(){
					alert("姓名："+this.name+",年龄："+this.age+",电话："+this.telephone);
				}
			}
			var p1=new Person("路逢高",21,"1314993933");
			
			var p2=new Person("徐凯",22,"1368345345");
			p1.selfIntro();
			p2.selfIntro();
			p1.setName("陆疯高");
			p1.selfIntro();
			alert(p1.constructor==Person);
			alert(p2.constructor);
			// alert(typeof(p1));
			// alert(typeof(Person));
		</script>
	</head>
	<body>
	</body>
</html>
